home *** CD-ROM | disk | FTP | other *** search
/ Die Ultimative Software-P…i Collection 1996 & 1997 / Die Ultimative Software-Pakete CD-ROM fur Atari Collection 1996 & 1997.iso / u / utility / 1st_word / 1stword.prt / ascii.hex next >
Encoding:
Text File  |  1996-11-17  |  7.0 KB  |  245 lines

  1. ****************************************************************
  2. *
  3. *    Teletype Printer Driver Configuration Table
  4. *
  5. *    This file contains tables defining the code sequences
  6. *    to be sent to the printer to perform various functions
  7. *    and to access the characters from codes in the Atari
  8. *    character set.
  9. *
  10. ****************************************************************
  11.  
  12. *
  13. * Name of printer
  14. * ===============
  15. *
  16. Teletype
  17. *
  18. * Miscellaneous configurable variables
  19. * ====================================
  20. *
  21. * 1: printer type, 0=dot matrix, 1=daisy wheel
  22. * Note, if the printer type is 0, the following 4 variables are never used.
  23. * 2: unit width of one character
  24. * 3: unit height of one line
  25. * 4: Approximate middle of carriage after formfeed
  26. * 5: Carriage shift for bold overstrike
  27. *
  28. 0, 0, 0, 0, 0
  29.  
  30. *
  31. * Printer characteristics
  32. * =======================
  33. *
  34. * This table specifies the printer command sequences.
  35. *
  36. * 0       * Character width
  37. 1, D, A   * Linefeed WITH return
  38. * 2       * Forward print
  39. * 3       * Reverse print
  40. * 4       * Vertical tab to line
  41. * 5       * Absolute horizontal tab 
  42. * 6       * Draft bold on
  43. * 7       * Draft bold off
  44. * 8       * Near Letter Quality (NLQ) bold on
  45. * 9       * NLQ bold off
  46. * A       * Draft italic on
  47. * B       * Draft italic off
  48. * C       * NLQ italic on
  49. * D       * NLQ italic off
  50. * E       * Draft light on
  51. * F       * Draft light off
  52. * 10      * NLQ light on
  53. * 11      * NLQ light off
  54. * 12      * Draft superscript on
  55. * 13      * Draft superscript off
  56. * 14      * NLQ superscript on
  57. * 15      * NLQ superscript off
  58. * 16      * Draft subscript on
  59. * 17      * Draft subscript off
  60. * 18      * NLQ subscript on
  61. * 19      * NLQ subscript off
  62. * 1A      * Draft underline on
  63. * 1B      * Draft underline off
  64. * 1C      * NLQ underline on
  65. * 1D      * NLQ underline off
  66. * 1E      * Formfeed
  67. 1F, D     * Horizontal initialisation
  68. * 20      * Vertical initialisation
  69. * 21      * Termination: printer reset
  70. 0         * NULL termination byte
  71.  
  72. *
  73. * Translation Table
  74. * =================
  75. *
  76. * This table provides translation from single Atari input bytes into
  77. * multiple printer codes, and is useful for printing extraneous
  78. * characters such as accented characters etc. All characters are 
  79. * subjected to translation, but if there is no entry in the table for
  80. * a particular code, then the original code is sent to the printer.
  81. *
  82. * The entries must be arranged in ascending order of Atari input
  83. * code. The table is NULL terminated.
  84. * If the table entry contains just the character code, it means
  85. * that the character in not printable.
  86.  
  87. 0              * NULL: print a space
  88. 1, 7C, 8, 5E   * Up arrow: | backspace ^
  89. 2, 7C, 8, 76   * Down arrow: | backspace v
  90. 3, 2D, 8, 3E   * Right arrow: - backspace >
  91. 4, 3C, 8, 2D   * Left arrow: - backspace <
  92. 5              * No close box
  93. 6              * No size box
  94. 7              * No full box
  95. 8              * No tick
  96. 9              * No clock
  97. A              * No bell
  98. B              * No musical note
  99. E              * No LH Atari symbol     
  100. F              * No RH Atari symbol
  101. 10, 30         * LCD 0
  102. 11, 31         * LCD 1
  103. 12, 32         * LCD 2    
  104. 13, 33         * LCD 3
  105. 14, 34         * LCD 4
  106. 15, 35         * LCD 5
  107. 16, 36         * LCD 6
  108. 17, 37         * LCD 7     
  109. 18, 38         * LCD 8
  110. 19, 39         * LCD 9     
  111. 7F             * No triangle
  112. 80, 43, 8, 2C  * Capital C cedilla: C backspace ,
  113. 81, 75         * No lower case u umlaut
  114. 82, 65         * No lower case e acute
  115. 83, 61, 8, 5E  * Lower case a circumflex:  a backspace ^
  116. 84, 61         * No lower case a umlaut
  117. 85, 61, 8, 60  * Lower case a grave: a backspace `
  118. 86, 61         * No lower case a boll
  119. 87, 63, 8, 2C  * Lower case c cedilla: c backspace ,
  120. 88, 65, 8, 5E  * Lower case e circumflex: e backspace ^
  121. 89, 65         * No lower case e umlaut
  122. 8A, 65, 8, 60  * Lower case e grave: e backspace `
  123. 8B, 69         * No lower case i umlaut
  124. 8C, 69, 8, 5E  * Lower case i circumflex: i backspace ^     
  125. 8D, 69, 8, 60  * Lower case i grave: i backspace `
  126. 8E, 41         * No capital A umlaut
  127. 8F, 41         * No capital A boll
  128. 90, 45         * No capital E acute
  129. 91             * No lower case ae dipthong
  130. 92             * No capital AE dipthong
  131. 93, 6F, 8, 5E  * Lower case o circumflex: o backspace ^
  132. 94, 6F         * No lower case o umlaut
  133. 95, 6F, 8, 60  * Lower case o grave: o backspace `
  134. 96, 75, 8, 5E  * Lower case u circumflex: u backspace ^
  135. 97, 75, 8, 60  * Lower case u grave: u backspace `
  136. 98, 79         * No lower case y umlaut 
  137. 99, 4F         * No capital O umlaut
  138. 9A, 55         * No capital U umlaut     
  139. 9B, 63, 8, 7C  * c cent: c backspace |
  140. 9C             * No pound sterling
  141. 9D, 59, 8, 2D  * Yen: Y backspace - 
  142. 9E             * No esszet
  143. 9F, 66         * No lower case swash 
  144. A0, 61         * No lower case a acute 
  145. A1, 69         * No lower case i acute 
  146. A2, 6F         * No lower case o acute 
  147. A3, 75         * No lower case y acute 
  148. A4, 6E, 8, 7E  * Lower case n tilde: n backspace ~ 
  149. A5, 4E         * No capital N tilde 
  150. A6, 61, 8, 5F  * Lower case a underline: a backspace _ 
  151. A7, 6F, 8, 5F  * Lower case o underline: o backspace _ 
  152. A8             * No inverted ? 
  153. A9             * No top left corner
  154. AA             * No top right corner
  155. AB             * No 1/2 fraction
  156. AC             * No 1/4 fraction
  157. AD             * No inverted !
  158. AE             * No <<
  159. AF             * No >>
  160. B0, 61, 8, 7E  * Lower case a tilde: a backspace ~
  161. B1, 6F, 8, 7E  * Lower case o tilde: o backspace ~
  162. B2, 4F, 8, 2F  * Capital crossed O: O backspace /
  163. B3, 6F, 8, 2F  * Lower case crossed o: o backspace /
  164. B4             * No lower case oe dipthong
  165. B5             * No capital OE dipthong
  166. B6, 41         * No capital A grave: print A
  167. B7, 41         * No capital A tilde: print A
  168. B8, 4F         * No capital O tilde: print O
  169. B9             * No umlaut
  170. BA             * No acute
  171. BB             * No dagger
  172. BC             * No paragraph symbol
  173. BD             * No copyright symbol
  174. BE             * No Registered symbol
  175. BF             * No Trademark symbol
  176. C0, 79         * ij ligature: print y
  177. C1, 59         * Capital IJ ligature: print Y
  178. C2             * No Hebrew...
  179. C3
  180. C4
  181. C5
  182. C6
  183. C7
  184. C8
  185. C9
  186. CA
  187. CB
  188. CC
  189. CD
  190. CE
  191. CF
  192. D0
  193. D1
  194. D2
  195. D3
  196. D4
  197. D5
  198. D6
  199. D7
  200. D8
  201. D9
  202. DA
  203. DB
  204. DC
  205. DD        * No section mark 
  206. DE        * No dropped circumflex
  207. DF        * No infinity
  208. E0        * No alpha
  209. E1        * No esszet      
  210. E2        * No Greek...
  211. E3
  212. E4
  213. E5
  214. E6
  215. E7
  216. E8
  217. E9
  218. EA
  219. EB
  220. EC
  221. ED
  222. EE
  223. EF
  224. F0             * no equivalence sign
  225. F1, 2B, 8, 5F  * +-: + backspace _
  226. F2, 3E, 8, 5F  * >=: > backspace _
  227. F3, 3C, 8, 5F  * <=: < backspace _
  228. F4             * No integral top piece
  229. F5             * No integral bottom piece
  230. F6, 3A, 8, 2D  * Division sign: : backspace -
  231. F7             * No twiddly = symbol
  232. F8             * No degree symbol
  233. F9             * No superior bullet
  234. FA             * No inferior bullet
  235. FB             * No square root sign
  236. FC             * No superior n
  237. FD             * No superior 2
  238. FE             * No superior 3
  239. FF             * No macron     
  240. 0
  241.  
  242.  
  243.  
  244.